﻿namespace Atlantis.Net.Irc
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    public class PrivateMessageReceivedEventArgs : EventArgs
    {

        public PrivateMessageReceivedEventArgs(string target, string message, string nick, string host, bool isNotice)
        {
            Target = target;
            Message = message;
            Nick = nick;
            UserHost = host;
            IsNotice = isNotice;
        }

        private bool m_IsNotice = false;
        /// <summary>
        ///     Gets a value indicating whether the incoming message was triggered by a notice
        /// </summary>
        public bool IsNotice
        {
            get { return m_IsNotice; }
            private set { m_IsNotice = value; }
        }

        private string m_Message = String.Empty;
        /// <summary>
        ///     Gets the message that triggered the event
        /// </summary>
        public string Message
        {
            get { return m_Message; }
            private set { m_Message = value; }
        }

        private string m_Nick = String.Empty;
        /// <summary>
        ///     Gets the nick that sent the message
        /// </summary>
        public string Nick
        {
            get { return m_Nick; }
            private set { m_Nick = value; }
        }

        private string m_Target = null;
        /// <summary>
        ///     Gets the target of the event
        /// </summary>
        public string Target
        {
            get { return m_Target; }
            private set { m_Target = value; }
        }

        private string m_UserHost = String.Empty;
        /// <summary>
        ///     Gets the user host of the the nick that sent the message
        /// </summary>
        public string UserHost
        {
            get { return m_UserHost; }
            private set { m_UserHost = value; }
        }

    }
}
